//
//  DBJUserAccountModel.m
//  DBJ
//
//  Created by 花化华 on 2016/11/14.
//  Copyright © 2016年 itcast. All rights reserved.
//

#import "DBJUserAccountModel.h"
#import "DBJUserDefaultsTool.h"

@implementation DBJUserAccountModel

+ (instancetype)sharedUserAccount{
    static id instance = nil;
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc]init];
    });
    return instance;
}

- (BOOL)currentID{
    return [DBJUserDefaultsTool objetForKey:CURRENTID];
}

@end
